package cn.ac.iie.jpa;

import cn.ac.iie.entity.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author Fighter Created on 2018/10/8.
 */
public interface GirlRepository extends JpaRepository<Girl, Integer> {

    List<Girl> findByAge(Integer age);
}
